package com.wyw.design.model.learning.behavioral.visitor;

import java.util.Arrays;
import java.util.Collections;

/**
 * @Title
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/19 17:20
 * Update History:
 * Author        Time            Content
 */
public class VisitorClient {
    public static void main(String[] args) {
        Computor computor = new Computor();
        computor.showFileAndDict(new NormalVisitor(Collections.singletonList("look-dictionary")));
        computor.showFileAndDict(new RootVisitor());
        computor.showFileAndDict(new NormalVisitor(Arrays.asList("look-file", "look-dictionary")));
    }
}
